export default [
    {
        path: '/system',
        name: 'system',
        meta: {
            sort: 1,
            title: "系统管理",
            icon: "fa fa-cogs",
            badge: "System",
            header: "SYSTEM",
            permissions: ['system_users', 'system_roles'],
        },
        component: () => import("@" + "/layout/index.vue"),
        children: [
            {
                path: 'users',
                name: `system_users`,
                meta: {
                    title: "用户管理",
                    permissions: ['system_users'],
                },
                component: () => import("@" + "/pages/system/user/Users.vue"),
            },
            {
                path: 'roles',
                name: `system_roles`,
                meta: {
                    title: "角色管理",
                    permissions: ['system_roles'],
                },
                component: () => import("@" + "/pages/system/role/Roles.vue"),
            },
        ]
    },
]